import request from '../utils/request'

export const delMenu = (delId) => {
  return request({
    url: '/menu/delMenu',
    method: 'get',
    params: {
      delId: delId
    }
  })
}

export const getMenuById = (id) => {
  return request({
    url: '/menu/getMenuById',
    method: 'get',
    params: {
      id: id
    }
  })
}
